import json


def read_json_as_list(file_path):
    """
    读取json文件，并转换为列表
    :param file_path: json文件路径
    :return:
    """
    list_tuple = []
    with open(file_path, "r", encoding="utf-8") as f:
        list1=json.load(f)


    # 不带key值
    for i in list1:
        tuple1=tuple(i.values())
        list_tuple.append(tuple1)
    return list_tuple



if __name__ == '__main__':
    read_json_as_list("../data/user.json")
